package test;

public class Employee extends Role {
    private double salary;
    private static int ID;
    @Override
    public void play() {
        System.out.println("play");
    }
    public final void sing(){}
    public Employee(){
        super();
    }
    public Employee(String name,int age,boolean sex,double salary,int ID){
        super(name, age, sex);
        this.salary=salary;
        this.ID=ID;
    }
    public void setSalary(double salary) {
        this.salary = salary;
    }
    public double getSalary() {
        return salary;
    }
    public static void setID(int ID) {
        Employee.ID = ID;
    }
    public static int getID() {
        return ID;
    }
}
